package com.example.demo.service.Impl;

import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import java.util.List;
import com.example.demo.domain.SysSettRecordExample;
import com.example.demo.mapper.SysSettRecordMapper;
import com.example.demo.domain.SysSettRecord;
import com.example.demo.service.SysSettRecordService;
@Service
public class SysSettRecordServiceImpl implements SysSettRecordService{

    @Resource
    private SysSettRecordMapper sysSettRecordMapper;

    @Override
    public long countByExample(SysSettRecordExample example) {
        return sysSettRecordMapper.countByExample(example);
    }

    @Override
    public int deleteByExample(SysSettRecordExample example) {
        return sysSettRecordMapper.deleteByExample(example);
    }

    @Override
    public int deleteByPrimaryKey(Long id) {
        return sysSettRecordMapper.deleteByPrimaryKey(id);
    }

    @Override
    public int insert(SysSettRecord record) {
        return sysSettRecordMapper.insert(record);
    }

    @Override
    public int insertSelective(SysSettRecord record) {
        return sysSettRecordMapper.insertSelective(record);
    }

    @Override
    public List<SysSettRecord> selectByExample(SysSettRecordExample example) {
        return sysSettRecordMapper.selectByExample(example);
    }

    @Override
    public SysSettRecord selectByPrimaryKey(Long id) {
        return sysSettRecordMapper.selectByPrimaryKey(id);
    }

    @Override
    public int updateByExampleSelective(SysSettRecord record,SysSettRecordExample example) {
        return sysSettRecordMapper.updateByExampleSelective(record,example);
    }

    @Override
    public int updateByExample(SysSettRecord record,SysSettRecordExample example) {
        return sysSettRecordMapper.updateByExample(record,example);
    }

    @Override
    public int updateByPrimaryKeySelective(SysSettRecord record) {
        return sysSettRecordMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(SysSettRecord record) {
        return sysSettRecordMapper.updateByPrimaryKey(record);
    }

}
